﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="form_article.ascx.cs"
    Inherits="admin_module_form_article" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<table width="772" border="0">
    <tr>
        <th height="58" valign="middle" bgcolor="#E5E5E5" scope="col">
            <h1 align="left">
                Quản trị bài viết</h1>
        </th>
        <!--// H1 Title -->
    </tr>
    <tr>
        <td bgcolor="#FFFFFF">
            <p class="bodytext_paragraph">
                Quản trị có thể thêm,sửa,xóa bài viết.<br />
                <br />
                <br />
            </p>
        </td>
    </tr>
</table>
<h2>
    <br />
    <br />
</h2>
<div style="position: relative; left: 24px; bottom: 20px;">
    <asp:ImageButton ID="OK" ImageUrl="~/admin/images/icons/positive.png" runat="server"
        OnClick="OK_Click" />
    <asp:ImageButton ID="Cancle" ImageUrl="~/admin/images/icons/negative.png" runat="server"
        Style="height: 18px" onclick="Cancle_Click"  /></div>
<div id="tables">
    <!--// Tables starts -->
    <ul class="tabs">
        <li><a href="#Review">Dữ Liệu</a></li>
    </ul>
    <div class="tab_container">
        <div id="Review" class="tab_content">
            <div class="bodytext_fieldstitle" id="fieldmedium">
                Chuyên mục
            </div>
            <div id="small">
            <asp:DropDownList ID="drlCategory" runat="server" AppendDataBoundItems="True">
            </asp:DropDownList>    
            </div>
            <div class="bodytext_fieldstitle" id="fieldmedium">
                Topic
            </div>
            <div id="small">
            <asp:DropDownList ID="drlTopic" runat="server" AppendDataBoundItems="True">
            </asp:DropDownList>    
            </div>
            <div class="bodytext_fieldstitle" id="fieldmedium">
                Ngôn ngữ
            </div>
            <div id="small">
            <asp:DropDownList ID="drlLang" runat="server" AppendDataBoundItems="True">
            </asp:DropDownList>    
            </div>
            <div class="bodytext_fieldstitle" id="fieldmedium">
                Tiêu đề
            </div>
            <div id="small">
                <asp:TextBox ID="txtNameArticle" runat="server" Width="354px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtNameArticle" ErrorMessage="Hãy nhập ký tự"></asp:RequiredFieldValidator>
            </div>
            <div id="fieldmedium" class="bodytext_fieldstitle">
                Tóm tắt
            </div>
            <div id="small" style="height:auto">
                <asp:TextBox ID="txtSumery" runat="server" Height="67px" TextMode="MultiLine" Width="405px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtSumery" ErrorMessage="Hãy nhập ký tự"></asp:RequiredFieldValidator>
            </div>
            <div id="fieldmedium" class="bodytext_fieldstitle">
                Nội dung
            </div>
            <div id="small" style="height:auto">
                <FCKeditorV2:FCKeditor ID="fckArticle" runat="server" BasePath="~/admin/fckeditor/"
                            ToolbarSet="Basic" Height="200px">
               </FCKeditorV2:FCKeditor>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="fckArticle" ErrorMessage="Hãy nhập ký tự"></asp:RequiredFieldValidator>
            </div>
              <div class="bodytext_fieldstitle" id="fieldmedium">
                Hiển thị
            </div>
            <div id="small">
            <asp:DropDownList ID="drlStatus" runat="server" AppendDataBoundItems="True">
                <asp:ListItem Text="Bật" Value="True" ></asp:ListItem>
                <asp:ListItem Text="Tắt" Value="False"></asp:ListItem>
            </asp:DropDownList>    
            </div>
             <div class="bodytext_fieldstitle" id="fieldmedium">
                Tác giả
            </div>
            <div id="small">
                <asp:TextBox ID="txtAuthor" runat="server" Width="354px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="txtAuthor" ErrorMessage="Hãy nhập ký tự"></asp:RequiredFieldValidator>
            </div>
               <div class="bodytext_fieldstitle" id="fieldmedium">
                Ảnh đại diện
            </div>
            <div id="small">
                <asp:Image ID="Image" runat="server" Height="92px" Width="115px" />
                    <asp:FileUpload ID="fileUp" runat="server" />
                    <br />
                    <asp:Label ID="lblFileInfo" runat="server"></asp:Label>
                    <br />
                    <asp:Button ID="Button3" runat="server" OnClick="Button3_Click" Text="Upload" />
            </div>
        </div>
    </div>
</div>
<br/>
</div> 